package com.sitech.portal.system.service.impl;

import java.util.HashMap;
import java.util.List;

import com.sitech.ibnms.core.IPage;
import com.sitech.ibnms.core.PageForm;
import com.sitech.portal.system.dao.ISysRolePortalDao;
import com.sitech.portal.system.service.ISysRolePortalService;

public class SysRolePortalServiceImpl implements ISysRolePortalService {

	private ISysRolePortalDao sysRolePortalDao;
	
	public ISysRolePortalDao getSysRolePortalDao() {
		return sysRolePortalDao;
	}

	public void setSysRolePortalDao(ISysRolePortalDao sysRolePortalDao) {
		this.sysRolePortalDao = sysRolePortalDao;
	}

	@Override
	public void add(HashMap map) {
		// TODO Auto-generated method stub
		sysRolePortalDao.add(map);
	}

	@Override
	public void deleteForTB_SYS_ROLE_PORTALByPK(String portal_order) {
		// TODO Auto-generated method stub
		sysRolePortalDao.deleteForTB_SYS_ROLE_PORTALByPK(portal_order);
	}

	@Override
	public List findAllPanel() {
		// TODO Auto-generated method stub
		return sysRolePortalDao.findAllPanel();
	}

	@Override
	public List findCanPanel(String panels) {
		// TODO Auto-generated method stub
		return sysRolePortalDao.findCanPanel(panels);
	}

	@Override
	public List findCanRoles(String ROLE_IDS) {
		// TODO Auto-generated method stub
		return sysRolePortalDao.findCanRoles(ROLE_IDS);
	}

	@Override
	public IPage findListRolePortal(PageForm pageForm) {
		// TODO Auto-generated method stub
		return sysRolePortalDao.findListRolePortal(pageForm);
	}

	@Override
	public HashMap findObjForTB_SYS_ROLE_PORTALByPK(String portal_order) {
		// TODO Auto-generated method stub
		return sysRolePortalDao.findObjForTB_SYS_ROLE_PORTALByPK(portal_order);
	}

	@Override
	public List findRolePortalList() {
		// TODO Auto-generated method stub
		return sysRolePortalDao.findRolePortalList();
	}

	@Override
	public List findSelectPanel(String panels) {
		// TODO Auto-generated method stub
		return sysRolePortalDao.findSelectPanel(panels);
	}

	@Override
	public List findSelectRoles(String ROLE_IDS) {
		// TODO Auto-generated method stub
		return sysRolePortalDao.findSelectRoles(ROLE_IDS);
	}

	@Override
	public void update(HashMap map) {
		// TODO Auto-generated method stub
		sysRolePortalDao.update(map);
	}

}
